package com.party.core.dao.read.gift;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.gift.GiftTarget;
import com.party.core.model.gift.GiftTargetListOutput;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author: Administrator.
 * @Description: 礼包和目标关系
 * @Date:Created in 2017/11/15 0015 上午 10:31.
 */
@Repository
public interface GiftTargetReadDao extends BaseReadDao<GiftTarget> {
    List<GiftTargetListOutput> webListPage(@Param(value = "giftTarget") GiftTargetListOutput giftTarget, @Param(value = "params") Map<String, Object> params, Page page);

    Integer getCountByGiftId(@Param(value = "giftId") String giftId);
}
